package com.haha.webSocket.core.entity.dateCollect;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.haha.webSocket.core.entity.User;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReadyDate implements BaseDate{

    private Integer version;

    @JsonProperty("session_id")
    private String sessionId;

    /**
     * 用户信息
     */
    private User user;

    /**
     * 分片信息
     */
    private Integer[] shard;

}
